<!-- Horizontal Form -->
<div class="box box-info">
	<div class="box-header with-border">
		<h3 class="box-title">新增文件</h3>
	</div>
	<div>
		<span style="margin-left:3%" id="createdUser">作者:</span><br>
		<span style="margin-left:3%" id="reviewUser">审核者:</span><br>
		<span style="margin-left:3%" id="release_time">创建时间:</span>
		<span style="float:right;margin-right:3%" id="update_time">更新于</span>
	</div>
	<!-- /.box-header -->
	<!-- form start -->
	<form class="form-horizontal">
		<div class="box-body">
			<!-- <div class="form-group">
				<label for="nameId" class="col-sm-2 control-label">文件标题</label>

				<div class="col-sm-10">
					<input type="text" class="form-control" name="name" id="nameId"
						placeholder="名称">
				</div>
			</div> -->
			<div class="form-group">
				<!-- <label for="noteId" class="col-sm-2 control-label">文件内容</label> -->

				<div class="col-sm-11" style="margin-left:5%">
					<!-- <textarea class="form-control" name="note" id="noteId"
						placeholder="描述">
              		</textarea> -->
              		
				</div>
			</div>
			<!-- <div class="form-group">
				<label class="col-sm-2 control-label">添加附件</label>
				<div class="col-sm-10">
					<ul id="menuTree" class="ztree"></ul>
				</div>
			</div> -->
		</div>
		<!-- /.box-body -->
		<div class="box-footer">
			<button type="button" class="btn btn-default btn-cancel">Cancel</button>
			<!-- <button type="button" class="btn btn-info btn-save">Save</button>
			<button type="button" class="btn btn-info pull-right btn-commit">Commit</button> -->
		</div>
		<!-- /.box-footer -->
	</form>
</div>
<!-- <script type="text/javascript" src="bower_components/ztree/jquery.ztree.all.min.js"></script> -->
<script type="text/javascript">
    $(function(){
    	//异步加载菜单信息,初始化页面菜单
    	$(".box-footer")
    	//.on("click",".btn-save",doSaveOrUpdate)
    	//.on("click",".btn-commit",doCommit)
    	.on("click",".btn-cancel",doCancel);
    	
    });
    function doCancel(){
    	var url="files/filepass_list";
    	$("#mainContentId")
    	.load(url,function(){
    	  $("#mainContentId").removeData();
    	});
    }
</script>